<template>
	<view class="bigBox">
		<!-- 选择会员 -->
		<view class="selectMember">
			<view class="member" @click="isChoose ? dialog = true : false">
				<image src="../../../static/img/quickly/information/add@2x.png"></image>
				<text>{{userName || '选择会员'}}</text>
			</view>
			<view class="save" @click="showModalbtn(1)">保存</view>
			<view class="toSend" @click="showModalbtn(2)">签名发送</view>
		</view>
		
		<view class="content">
			<view class="executionDetails" v-for="(item,index) in implementationSchemeList" :key="index">
				<view class="executionTime">
					<view class="label">{{index+1}}</view>
					<view class="data">计划日期:
						<view class="uni-list-cell-dba time_choose">
							<picker mode="date" :value="item.createdDate" :start="nowDte"  @change="bindDateChange($event,item)">
								<view class="uni-input" @click="Nindex = index">{{item.createdDate}}</view>
								<input type="hidden" v-show="false" :value="item.createdDate">
							</picker>
						</view>
					</view>
					<image src="../../../static/img/quickly/intervenscheme/declaration.png" class="declaration"></image>
					<view class="mainContent" @click="pickerIndex = index">
						<picker @change="examinationType" :range="examinationTypeArray">
							<label>主要内容：</label>
							<label class="">{{ item.content || '请选择内容' }}</label>
						</picker>
		
					</view>
				</view>
		
				<view class="specificItem">
					<view>具体事项:
						<view class="delImage" @click="delThis3(index)">
							<image src="../../../static/img/quickly/intervenscheme/delect@2x.png"></image>
						</view>
					</view>
					<editor  :id="'editor'+index" class="uni-input commentInput ql-container2" @input="editorInput2"  placeholder="请填写具体事项" @focus="editIndex = index,editData = implementationSchemeList"></editor>
					<!-- <textarea placeholder="请填写具体事项" maxlength="500000" v-model="item.specificMatters"></textarea> -->
				</view>
			</view>
			<view class="addData" @click="addData"><image src="../../../static/img/quickly/internation/add@2x.png"></image> 添加一条</view>
		</view>
		<!-- 会员弹框 -->
		<member :dialog.sync="dialog"  @hidedialog="hidedialog" @chooseUser="chooseUser"></member>
		<!-- <u-modal v-model="showModal" :show-cancel-button="true" @confirm="Modalconfirm" :content="showContent"></u-modal> -->
	</view>
</template>

<script src="@/static/js/quickly/intervenscheme/create.js"></script>

<style lang="scss" scoped>
	@import '@/static/css/quickly/intervenscheme/create.scss';
</style>
